package com.mcms.web.view;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.ralasafe.util.StringUtil;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

public class LoginPage extends AbstractController {

	protected ModelAndView handleRequestInternal(HttpServletRequest request,
			HttpServletResponse response) throws Exception {
//		String gotoPage = (String) request.getSession().getAttribute("gotoPage");
//		if (StringUtil.isEmpty(gotoPage)) {
//			gotoPage = "mcms/index.jsp";
//		}
//		request.getSession().setAttribute("gotoPage", gotoPage);
		return new ModelAndView("login");
	}
}
